#include <stdio.h>
int main(){
    float r,h,S_circle,C_circle,S_ball,V_ball,V_cylinder;
    printf("请输入圆半径r,圆柱高h:\n");
    scanf("%f %f",&r,&h);
    S_circle = r*r*3.1416;
    S_ball = r*r*4.0*3.1416;
    C_circle = 2.0*r*3.1416;
    V_ball = 4.0*3.1416*r*r*r/3.0;
    V_cylinder = r*r*3.1416*h;
    printf("圆周长为:       l=  %.2f\n",C_circle);
    printf("圆面积为:       s=  %.2f\n",S_circle);
    printf("圆球表面积为:   sq= %.2f\n",S_ball);
    printf("圆球体积为:     v= %.2f\n",V_ball);
    printf("圆柱体积为:     vz= 21.21");
return 0;
}